package com.we.risk.attribution.correct;

import java.text.SimpleDateFormat;

public class Common {
    //CMS rule
    public static final String STATUSCODE = "statusCode";
    public static final String REQUESTIME = "requestTime";
    public static final String CMSV2FLAG = "bucketInfo";
    public static final String ACTIONS = "supportActions";
    public static final String ADCHSRULE = "adChooseRule";
    public static final String TIMEBEFORE = "timeBefore";
    public static final String SUPPORTCLASS = "supportClass";
    public static final String UIDS = "uids";
    public static final String TARGETCHANNEL = "targetChannels";
    public static final String CHANNELPRITORY = "channelPritory";
    public static final String ATRIBUID = "_id"; //归因策略id，和桶id一一对应
    public static final String ATRIBUNAME = "name"; //归因name
    public static final String NODE ="node";
    public static final String BUCKETS = "bucketes";
    //bucketInfo
    public static final String BKTSTRATEGYID = "strategyId"; //桶策略id,对应登录+进件
    public static final String BKTSTRATEGYNAME = "strategyName"; //桶策略name
    public static final String BUCKETID = "id"; //桶id
    public static final String BUCKETNAME = "name";//桶name
    public static final String MODE = "mode"; // 1单实验 2多实验
    public static final String PERCENT = "percent";
    public static final String POSTBACKID = "postBackId";

    //CorrectRes
    public static final String USERKEY = "userKey";
    public static final String UID = "uid";
    public static final String DEVICEID = "deviceId";
    public static final String BIZID = "bizId";
    public static final String BUCKETSTRATEGYID = "bucketStrategyId"; //桶策略id,对应登录+进件
    public static final String BUCKETSTRATEGYNAME = "bucketStrategyName"; //桶策略name
    //node
    //mode
    public static final String ACTION = "action";
    public static final String ACTIONTIME = "actionTime";
    public static final String ATTRBURES = "attributionRes";

    //attributionRes jsonArray
    public static final String ATRBUCKETID = "bucketId"; //桶id
    public static final String ATRBUCKETNAME = "bucketName";//桶name
    //postbackid
    //adChooseRule
    //supportActions
    //channelPritory
    public static final String ATRIBUSTTID = "attributionStrategyId"; //归因策略id，和桶id一一对应
    public static final String ATRIBUSTTNAME = "attributionStrategyName"; //归因name
    public static final String CORRECTSTIME = "correctStartTime";
    public static final String CORRECTENDTIME = "correctEndTime";
    public static final String CORRECTFLAG = "correctFlag";
    public static final String NONMSGSTMCLSFLAG = "nonMsgStreamClassFlag";
    public static final String ABTESTFLAG = "abTestFlag";
    public static final String CORRECTORIGINSRC = "correctOriginSource";
    public static final String CLICKID = "clickId";


    public static final String DATEFORMAT = "yyyy-MM-dd";
    public static final String ORIGINSOURCE = "originSource";
    public static final String TYPE = "type";


    public static final int DEVICEIDLEN = 32;
    public static final int RESETCNT = 1000000;
}
